<!DOCTYPE html>
<html lang="zh-cn" xmlns:th="http://www.thymeleaf.org">
<head>
    <title th:text="'公司新闻-新闻资讯-' + ${companyProfile.name}"></title>
    <meta name="keywords" th:content="${companyProfile.seoKeyword}"/>
    <meta name="description" th:content="${companyProfile.seoDescription}"/>
    <link rel="icon" href="/static/favicon.png"/>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0,minimum-scale=1.0,user-scalable=0">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="../static/css/animate.css">
    <link rel="stylesheet" href="../static/css/swiper-3.4.2.min.css">
    <link rel="stylesheet" href="../static/css/css.css">
    <link rel="stylesheet" href="../static/css/news.css">
</head>
<body ontouchstart="" data-ind="5">
<style>
    table {
        margin: 0px auto;
    }
</style>
<div th:replace="menu :: menu"></div>
<div class="mohead clearfix">
    <a class="logoBox" href="/" rel="noopener noreferrer"><img th:src="${companyProfile.logo}"></a>
    <div class="menu">
        <span></span>
        <span></span>
        <span></span>
    </div>
</div>
<div class="maskout">
    <img src="../static/picture/close.png">
</div>
<div th:replace="m-menu :: m-menu"></div>
<div class="leg"></div>
<div id="banner-box">
    <img src="http://120.25.100.147/uploads/cunshe/new-list.jpg" alt="banner">
    <div class="inbox">
        <div class="title-box">
            <div class="cn wow fadeInUp_qs50" ms="ms">公司新闻</div>
        </div>
        <div class="info wow fadeInUp_qs50" ms="ms"></div>
    </div>
</div>
<div class="k-box wow fadeInUp_qs50" ms="ms">
    <div id="navbar-box">
        <div class="inbox clearfix">
            <a href="/news" th:class="${type == null ? 'cur' : ''}">公司新闻</a>
            <a href="/news_2" th:class="${type == 2 ? 'cur' : ''}">行业资讯</a>
        </div>
    </div>
</div>
<div class="news_a">
    <div class="wrap">
        <ul class="clearfix news-ul">
            <li class="hoverbtn wow fadeInUp_qs50" ms="ms" th:each="n: ${news}">
                <a th:href="'/news_detail_' + ${n.id}" rel="noopener noreferrer" block="">
                    <div class="imgbox"><img th:src="${n.img != null ? n.img : '/static/empty_img.jpg'}" alt=""></div>
                    <div class="text-box">
                        <div class="tl" th:text="${n.title}">工业4.0为仪器仪表转型升级指明方向</div>
                        <div class="te over" th:text="${n.description}">我国仪器仪表行业是一个高速、平稳发展的行业，由于国</div>
                        <div class="jt-box clearfix">
                            <div class="date" th:text="${#dates.format(n.createtime, 'yyyy-MM-dd')}">2021-05-15</div>
                            <div class="jt">
                                <img src="/static/picture/more_01.png" class="nor" alt="">
                                <img src="/static/picture/more_02.png" class="act" alt="">
                            </div>
                        </div>
                    </div>
                </a>
            </li>

        </ul>
        <div class='pages'></div>
    </div>
</div>
<div th:replace="footer :: footer"></div>
</body>
<script src="../static/js/swiper-3.4.2.min.js"></script>
<script src="../static/js/jquery-1.11.3.min.js"></script>
<script src="../static/js/wow.min.js"></script>
<script src="../static/js/common.js"></script>
<script src="../static/js/utils.js"></script>
<script>
    var _params = getQueryParams()
    //$('#navbar-box a').eq(_params.type == undefined || _params.type == 0 ? 0 : 1).addClass('cur')
    $('#navbar-box').on('click', 'a', function () {
        $(this).addClass('cur').siblings().removeClass('cur')
    })
</script>
</html>